package org.jeecg.modules.demo.document.mapper;



import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Mapper;
import org.jeecg.modules.demo.document.utils.FilesDO;

/**
 * 
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2020-05-01 13:21:06
 */
@Mapper
public interface FilesDao {

    List<FilesDO>  getbyuserid(long userid);

    FilesDO get(Integer id);
	
	List<FilesDO> list(Map<String, Object> map);
	
	int count(Map<String, Object> map);
	
	int save(FilesDO file);
	
	int update(FilesDO file);
	
	int remove(Integer id);
	
	int batchRemove(Integer[] ids);

	List<FilesDO> getbyNote1(String note1);

	List<FilesDO> getAll();
}
